﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Nancy.Model.DataModel;
using Nancy.Repository.BaseRepository;

namespace Nancy.Repository.EfRepository
{
    public class EfRepository<T> : IBaseRepository<T> where T : BaseEntity
    {
        private DbContext _dbContext;

        public EfRepository()
        {
            _dbContext = NancyDbContext.CreateDbContext();
        }

        public T GetById(Guid id)
        {
            throw new NotImplementedException();
        }

        public List<T> GetAll()
        {
            throw new NotImplementedException();
        }

        public List<T> GetList(Expression<Func<T, bool>> criteria)
        {
            throw new NotImplementedException();
        }

        public void Add(T entity)
        {
            throw new NotImplementedException();
        }

        public void AddBatch(List<T> entityList)
        {
            throw new NotImplementedException();
        }

        public void Update(T entity)
        {
            throw new NotImplementedException();
        }

        public void UpdateBatch(List<T> entityList)
        {
            throw new NotImplementedException();
        }

        public void DeleteById(Guid id)
        {
            throw new NotImplementedException();
        }

        public void Delete(T entity)
        {
            throw new NotImplementedException();
        }

        public void Delete(Expression<Func<T, bool>> criteria)
        {
            throw new NotImplementedException();
        }

        public IQueryable<T> GetQueryable()
        {
            throw new NotImplementedException();
        }
    }
}
